Skip to content

Add building and container recipes#34

Closed
HenryCai-st wants to merge 1 commit intoSimulation-Software-Engineering:mainfrom
HenryCai-st:main
Closed

Add building and container recipes#34
HenryCai-st wants to merge 1 commit intoSimulation-Software-Engineering:mainfrom
HenryCai-st:main

Conversation

@HenryCai-st
Copy link
Copy Markdown

gitlab name: caihy

verify with

docker build -t cmake-exercise .
docker run -it cmake-exercise
./build_and_run.sh

Sorry for the late upload, was caused by Internet Issues

Copy link
Copy Markdown

@MakisH MakisH left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally, and apart from the late submission, the code looks fine. The Dockerfile and the CMakeLists.txt could be a bit more streamlined, but it already works as-is.

Comment on lines +16 to +17
# change the encoding of shell to remove '\r'
RUN sed -i 's/\r$//' build_and_run.sh
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Strange to see this, especially both in the Dockerfile and in the build_and_run.sh.

Comment on lines +3 to +9
# apt-get installs basics
RUN apt-get update
RUN apt-get install build-essential cmake unzip wget vim -y
# boost
RUN apt-get install libboost-all-dev -y
# deal II
RUN apt-get install libdeal.ii-dev -y
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would combine these into one RUN command.

@MakisH MakisH closed this Apr 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants